package org.example.config;
import org.springframework.context.annotation.*;

@Configuration //代表他是一个配置类将,替换applicationContext.xml
@ComponentScan({"org.org.example.dao"}) //在配置类上添加包扫描注解
@PropertySource({"jdbc.properties"})
@Import(JdbcConfig.class)
public class SpringConfig {
}
